<?php
class Kd_Data_Dcl_Expression_Orderby_Field extends Kd_Data_Dcl_Expression_Field{

    private $_direction = '';
	
	public function __construct($expString, $direction = 'desc'){
		parent::__construct($expString);
        $this->_direction = $direction;
	}

    public function getDirection(){
        return $this->_direction;
    }
    public function setDirection($value){
        $this->_direction = $value;
    }
	
	public function getExpressionType(){
		return 'orderField';
	}
}